package com.ly.sy.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ly.sy.entity.Course;
import com.ly.sy.entity.Syuser;
import com.ly.sy.entity.Xktable;
import com.ly.sy.mapper.XktableMapper;
import com.ly.sy.service.XktableService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liangyu
 * @since 2020-11-11
 */
@Service
public class XktableServiceImpl extends ServiceImpl<XktableMapper, Xktable> implements XktableService {

    @Override
    public List<Xktable> xktablelikeLise(Integer searchstr) {
        QueryWrapper<Xktable> queryWrapper=new QueryWrapper<>();
        queryWrapper.eq("user_id", searchstr);
        List<Xktable> xkFormSql= list(queryWrapper);
        return xkFormSql;
    }
}
